package com.codejoys.service.Impl;

import com.codejoys.service.UserService;
import org.springframework.stereotype.Service;

//给bean取一个名字，如果不指定名字，
//默认名字是UserserviceImpl2的小驼峰形式userServiceImpl2
@Service("userServiceImpl2")
public class UserServiceImpl2 implements UserService {

    public void findAll() {
        System.out.println("UserServiceImpl2.findAll()*#####");
    }
}
